package com.flow.engine.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.flow.engine.entity.Flow;
import com.flow.engine.entity.FlowNodeTemplate;
import com.flow.engine.entity.User;

import java.util.List;

public interface FlowService extends IService<Flow> {


    Boolean createFlow(Long flowTemplateId, List<FlowNodeTemplate> flowNodeTemplates);

    Boolean audit(Long nodeId, String remark, Boolean auditStatus, User user);
}
